package model;

import java.util.ArrayList;

/**
 * The Class EditLayersModel.
 */
public class EditLayersModel 
{
	
	/** The photo who owns the layers. */
	private UpdatePhotoLayersModel thePhotoWhoOwnsTheLayers;
	
	/** The layer headline list. */
	private ArrayList<LayerModel> layerList;
	
	/** The button names. */
	private String [] buttonNames;

	/**
	 * Instantiates a new edits the layers model.
	 *
	 * @param layerList the layer headline list
	 * @param thePhotoWhoOwnsTheLayers the details of the photo who owns the layers
	 */
	public EditLayersModel(ArrayList<LayerModel> layerList , UpdatePhotoLayersModel thePhotoWhoOwnsTheLayers)
	{
		this.layerList = layerList;
		this.thePhotoWhoOwnsTheLayers = thePhotoWhoOwnsTheLayers;
	}
	
	/**
	 * Gets the layer headline list.
	 *
	 * @return the photo headline list
	 */
	public ArrayList<LayerModel> getLayerList() 
	{
		return layerList;
	}


	/**
	 * Gets the button names.
	 *
	 * @return the button names
	 */
	public String [] getButtonNames() 
	{
		return buttonNames;
	}


	/**
	 * Sets the button names.
	 *
	 * @param buttonNames the new button names
	 */
	public void setButtonNames(String [] buttonNames) 
	{
		this.buttonNames = buttonNames;
	}

	/**
	 * Gets the the photo who owns the layers.
	 *
	 * @return the the photo who owns the layers
	 */
	public UpdatePhotoLayersModel getThePhotoWhoOwnsTheLayers() {
		return thePhotoWhoOwnsTheLayers;
	}

	/**
	 * Sets the the photo who owns the layers.
	 *
	 * @param thePhotoWhoOwnsTheLayers the new the photo who owns the layers
	 */
	public void setThePhotoWhoOwnsTheLayers(UpdatePhotoLayersModel thePhotoWhoOwnsTheLayers) {
		this.thePhotoWhoOwnsTheLayers = thePhotoWhoOwnsTheLayers;
	}

	/**
	 * Sets the layer list.
	 *
	 * @param layerList the new layer list
	 */
	public void setLayerList(ArrayList<LayerModel> layerList) {
		this.layerList = layerList;
	}

}
